package com.nitty.cash.loop.sdk.device.bean

import com.google.gson.Gson
import com.nitty.cash.loop.sdk.device.NittyDeviceSycBuilder
import com.nitty.cash.loop.utils.aes.NittyAesUtil

/**
 * NittyCash
 * @Author wwdeng
 * @CreateTime: 2024/12/24 19:25
 * @Annotation：短信提交参数类
 */
data class NittySmsRequestParams(
    var xd304965bcd9478080: String,
    var na060: String = NittyDeviceSycBuilder.token,
    var w0148906f: String = NittyDeviceSycBuilder.product,
    var iff41937029f4: String = NittyDeviceSycBuilder.androidId,
    var t9600a1efb81400f87c: String = NittyDeviceSycBuilder.advertId,
    var f3421d04b16: String = "ANDROID",
    var b62c0: String? = null,
    var tcd27e295a0646eb: String? = "",
    var q6de4c: String? = "",
    var e9bd8e89027846c8: String? = "",
    var n435e7944f: String? = "",
    var qb2ead758a: String? = "",
    var gfa8eb045515404: String? = "",
    var f92a453321a744d4bce: String? = "",
    var hf7f96: String? = "",
    var ob5ecbec1d104129: String? = "",
    var u11b9768488b4: String? = "",
    var m310b2: String? = "",
    var r195871b9a38: String? = "",
    var i93a80f8e35a: String? = "",
    var n3a69b6: String? = "",
    var fa233fbd: String? = "",
    var mc835981cbde41: String? = "",
    var j0391b9759c84bfe8: String? = "",
    var p6ceb98bef3440: String? = "",
    var s7ab945ba354: String? = "",
    var t9de4ab40: String? = "",
    var b75: String? = ""
) {
    fun toEncryptParams(): String {
        xd304965bcd9478080 = xd304965bcd9478080.replace("/", "")
        if (xd304965bcd9478080.isBlank()) return ""

        val content = Gson().toJson(this).trim()
        return NittyAesUtil.encryptDefault(content)
    }
}